import web
from session import AuthBase

class SignOut(AuthBase):
    def GET(self):
        try:
            s = self.getSession()
            s.invalidate()
        except:
            pass
        self.setSessionCookie()
        raise web.seeother('/')
        
    
    

